//
//  QueryTimeviewModel.m
//  Park
//
//  Created by 123456 on 2017/11/22.
//  Copyright © 2017年 YTYangK. All rights reserved.
//

#import "QueryTimeviewModel.h"

@implementation QueryTimeviewModel


+(void)requestWithUrlForQueryTime:(id)obj andParam:(NSDictionary *)param success:(void (^)(NSString *))success failure:(void (^)(NSString *))failure{
    
    
    [NetRequestClss requestWithUrl:@"app/judgeScheduledTime.do" requestWithParameters:param method:NetMethodGET returnSuccess:^(id objs, int status, NSString *mag) {
        
        NSLog(@"请求返回 ===== %@",objs);
        
        if ([objs[@"result"] isEqualToString:@"success"]) {

            success(objs[@"msg"]);

        }
        
    } returnError:^(NSString *err) {
        failure(err);
        
    }];
    
    
}

@end
